SDK_DIR 	:= ../sdk
SDK_LIB_DIR	:= $(SDK_DIR)/lib
SDK_INC_DIR	:= $(SDK_DIR)/include

.PHONY: all

all: libs
	echo install libs done.

libs:
	echo "install libgcc"
	cp libgcc/arch/$(ARCH)/libgcc.a $(SDK_LIB_DIR)/libgcc.a
	echo "install libvfsc"
	cp build/libvfsc/libvfsc.a $(SDK_LIB_DIR)/libvfsc.a
	cp libvfsc/vfsc.h $(SDK_INC_DIR)/vfsc.h
	echo "install libnetc"
	cp build/libnetc/libnetc.a $(SDK_LIB_DIR)/libnetc.a
	cp libnetc/netc.h $(SDK_INC_DIR)/netc.h
	cp libnetc/netsocket.h $(SDK_INC_DIR)/netsocket.h
#	echo "install libcxx"
#	cp build/libcxx/libcxx.a $(SDK_LIB_DIR)/libcxx.a
